package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.project.domain.entity.AllocationDetail;
import com.ruoyi.project.domain.entity.ProjectAllocation;
import com.ruoyi.project.domain.query.ProjectQuery;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface IProjectAllocationDetailService extends IService<AllocationDetail> {


    boolean updateAllocationDetail(AllocationDetail detail,boolean flag);

    Map<String, BigDecimal> getAllocationInfo(String projectNo,String current);


    boolean auditAllocation(String projectNo,String current);

    Map<String, Object> getAuditPermission(String projectNo,String current);


    void setSaleMoney(String projectNo,String current);

    void  allocationDetailConfirm(AllocationDetail detail);

    void checkComplete(String projectNo);

    List<AllocationDetail> getStatistics();

    TableDataInfo getRank(ProjectQuery query);


}
